﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CqusInfo.RAL.Barter
{
    /// <summary>
    /// tb_Shops 商品基本信息表
    /// </summary>
    public class ShopsModel
    {
        public string c_vc_sptId { get; set; }
        public string c_vc_spId { get; set; }
        public string c_vc_userName { get; set; }
        public string c_vc_shopName { get; set; }
        public string c_vc_brand { get; set; }
        public Int32 c_i_readNO { get; set; }
        public string c_tx_pictureURL { get; set; }
        public string c_vc_description { get; set; }
        public bool c_b_isHot { get; set; }
        public Int32 c_i_ranking { get; set; }
        public bool c_b_isHeader { get; set; }
        public Int32 c_i_transactions { get; set; }
        public Int32 c_i_shopNO { get; set; }
        public Int32 c_i_quality { get; set; }
        public DateTime c_dt_dateTime{ get; set; }
        public bool c_b_isDel { get; set; }

        /// <summary>
        /// 无参构造函数
        /// </summary>
        public ShopsModel()
        {

        }

        /// <summary>
        /// 有参构造函数
        /// </summary>
        /// <param name="sptId">ID</param>
        /// <param name="spId">类别Id</param>
        /// <param name="shopName">商品名称</param>
        /// <param name="brand">品牌</param>
        /// <param name="pictureURL">图片URL</param>
        /// <param name="description">简介</param>
        /// <param name="isHot">true：热卖 false：不是热卖</param>
        /// <param name="ranking">同类排名</param>
        /// <param name="isHeader">true：头条 false：不是头条</param>
        /// <param name="transactions">交易次数</param>
        /// <param name="shopNO">商品数量</param>
        /// <param name="quality">质量</param>
        /// <param name="dateTime">发布时间</param>
        /// <param name="isDel">true：已删除 false：未删除</param>
        public ShopsModel(string sptId, string spId, string shopName, string brand, string pictureURL, string description, bool isHot, Int32 ranking, bool isHeader, Int32 transactions, Int32 shopNO, Int32 quality, DateTime dateTime, bool isDel)
        {
            this.c_vc_sptId = sptId;
            this.c_vc_spId = spId;
            this.c_vc_shopName = shopName;
            this.c_vc_brand = brand;
            this.c_tx_pictureURL = pictureURL;
            this.c_vc_description = description;
            this.c_b_isHot = isHot;
            this.c_i_ranking = ranking;
            this.c_b_isHeader = isHeader;
            this.c_i_transactions = transactions;
            this.c_i_shopNO = shopNO;
            this.c_i_quality = quality;
            this.c_dt_dateTime = dateTime;
            this.c_b_isDel = isDel;
        }
    }
}
